#!/usr/bin/env python
# -*- coding: utf-8 -*-

renyare = {
	'stylesheets':['index.xsl'], # Add stylesheets to be loaded on every request here
	'language':'en',
	'skin':'default',
}

paths = {
	'web:root':'http://localhost:8080', # Could be ignored under some circumstances (i.e. when run under paste)
	'local:root':'/var/www/renyare', # Web directory root
	'internal:root':'/var/www/renyare/internal', # A place to store anything that should not be accessible under web
	'dirs:public:root':['js', 'cache', 'skins', 'cgi-bin'],
	'dirs:public:skins':['i18n', 'images', 'styles'],
	('dirs:public:skins/%(renyare.skin)/%(renyare.language)'):['images', 'templates'],
	'dirs:internal:root':['cache'],
	# You can override or add any directory name passing it's setting prefixed with web_ local_ or internal_ respectively
	# Examples:
	'web:cgi':'cgi-bin', # Override web cgi-scripts path (relative)
	#'web:static':'static', # Override web static files path (relative)
	#'local:cgi':'cgi-bin', # Override local cgi-scripts directory (relative)
	#'local:static':'static', # Override local static directory (relative)
}
database = {
	'prefix':'renyare_',
	'connection_string':'sqlite:////var/www/renyare/internal/cache/renyare_test.db',
	'collation':'UTF-8',
}

auth = {
#	'SID_COOKIE_NAME':'rosterSid',
#	'SID_LEN':160,
#	'SID_EXPIRES':3600,
#	'DEFAULT_PASSWORD_LEN':8,
#	'PREREGISTER_EXPIRES':1209600, # 14*60*60*24 = 2 weeks		
#	'LOGIN_ANONYMOUS':'default',
}

# Other package's options can be set here
roster = {}
tababr = {
# Tababr settings
#				'TAG_DB_PREFIX':'system_',
#				'TAG_DB_CONNECTION_STRING':'mysql://renyare_rosterus:qwer1234-roster123@localhost/renyare_roster',
#				'DEFAULT_PATH':'/roster/welcome'
}

#-------------------------------------------------------------
# !!!! THE OPTIONS BELOW ARE FOR INTERNAL USE ONLY
# DO NOT CHANGE THEM IF YOU ARE NOT SURE WHAT YOU ARE DOING
_xml = {
	'namespace_url':'http://www.renyare.ru/NS/framework',
	'namespace_prefix':'ren:',
}

